Skip to main content

All Questions

0votes
0answers
139views

.NET Repository Pattern

I'm currently in the process of defining some framework, one of the first things that I thought I could start with was defining some repository pattern/layer. I generally wanted some input on it, ...
JO3-W3B-D3V's user avatar
0votes
1answer
458views

Composing functionality of sealed class with interfaces

...
JPtheK9's user avatar
-2votes
1answer
632views

C++ generic task interface for delayed execution

I want to rework my current game-server engine to use some global queue of tasks which will be distributed through all the working threads. I started with task interface. I want it to be able to ...
Piodo's user avatar
6votes
2answers
275views

Opposite access to enums

Consider I have many enums (Java) that looks somewhat like this: ...
Hallel's user avatar
4votes
1answer
155views

Factory pattern for creating embossing machines

I'm working on a program that creates a file for a specific embosser machine (machine that creates plastic bank card for example). I have 3 embosser machines and all of them create different files. ...
TJacken's user avatar
5votes
1answer
43views

CandidateArchive for model-assisted multi-fidelity global search algorithm

For my research I'm working on global search methods where a candidate solution can have it's fitness (=score) evaluated in multiple fidelities (=accuracy levels). The goal of the ...
Energya's user avatar
5votes
1answer
205views

Service for generating faked objects

I'm using the Bogus library to mock up some data for testing. This is my main method demonstrating how the faking service should be used: ...
TomSelleck's user avatar
4votes
1answer
828views

C++ implementation of the decorator pattern

This is a C++ implementation of the decorator pattern. I am also learning about interfaces and (pure) virtual functions. ...
user avatar
0votes
1answer
108views

Different implementation of an Interface along with additional parameters

I am designing an interface for 2 distinct implementations as follows: Perform operations without client credentials ( for my local applications) Perform operations using security token. (for web ...
Anupam Singh's user avatar
1vote
1answer
105views

Passing some redundant parameters to an interface vs creating a new request object every time for the interface

I am writing a proxy class, that will fetch a certain property (say propertyA) by calling an underlying service. Currently we use Service A to get propertyA, but there is a chance that in the near ...
Vardaan Sharma's user avatar
4votes
2answers
1kviews

Validating Shift class through builder pattern

I have a Shift class that looks like this: ...
Denis's user avatar
  • 8,558
2votes
1answer
126views

Handing multiple workflows cleanly in LOB application

Background I'm about to build a LOB application that resembles an e-commerce solution (without paying and being open to the public). It will be used to receive orders for fulfillment purposes based ...
James Hill's user avatar
2votes
2answers
1kviews

Strategy pattern using an abstract class and an interface

I have implemented some sort of the strategy pattern using an abstract class and an interface: ...
Denis's user avatar
  • 8,558
0votes
1answer
1kviews

ViewModel class in Typescript

I am trying to refactor a ViewModel class because it has two methods that are really similar called updateRegions and ...
BeniaminoBaggins's user avatar
12votes
1answer
174views

To read a book thou should have it bought, to buy a book thou should have it found! (Search Abstraction)

I started a hobby project to find the books that I read (paperbacks) so that I can keep track of them (reading start date, finish date, number of pages, etc..) The first challenge was to find the ...
Oguz Ozgul's user avatar

153050per page
close